 ***Global value chain integration and quality of institutions: Implications for multidimensional energy poverty in African countries’’

by Romus Noufelie and Landry Boris Djamen
 
 
 gen LGMEPI=log(RMEPI-UMEPI)
 rename CountryCode id
 egen LGVc = mean(LGVC), by(id)
egen LDVx= mean(LDVX), by(id)
egen LFVa= mean(LFVA), by(id)
egen Qii = mean(QII), by(id)
egen LMEPi = mean(LMEPI), by(id)
egen LGMEPi= mean(LGMEPI), by(id)
egen LUMEPi = mean(LUMEPI), by(id)
egen LRMEPi = mean(LRMEPI), by(id)
***  Fig.1 global value Chain, QI and multiregional energy poverty proxies

twoway (scatter  LMEPi LGVc, mlabel (id ))(lfit LMEPi LGVc), saving(01)
twoway (scatter  LMEPi Qii,  mlabel (id))(lfit LMEPi Qii), saving(02)
twoway (scatter  LMEPi LDVx,  mlabel (id))(lfit LMEPi LDVx), saving(03)
twoway (scatter  LMEPi LFVa,  mlabel (id ))(lfit LMEPi LFVa), saving(04)
gr combine  01.gph 02.gph 03.gph 04.gph, saving(GH1)

*****Fig.2 global value Chain proxies, QI and multidimensional energy poverty
twoway (scatter  LUMEPi LGVc,  mlabel (id ))(lfit LUMEPi LGVc), saving(05)
twoway (scatter  LRMEPi LGVc, mlabel (id))(lfit LRMEPi LGVc), saving(06)
twoway (scatter  LRMEPi Qii,  mlabel (id ))(lfit LRMEPi Qii), saving(07)
twoway (scatter  LUMEPi Qii,  mlabel (id))(lfit LUMEPi Qii), saving(08)
twoway (scatter  LGMEPi LGVc,  mlabel (id ))(lfit LGMEPi LGVc), saving(09)
twoway (scatter  LGMEPi Qii,  mlabel (id))(lfit LGMEPi Qii), saving(10)
gr combine 05.gph 06.gph 07.gph 08.gph 09.gph 10.gph, saving(GH2)

****Fig.3 global value Chain proxies and multidimensional energy poverty proxies
twoway (scatter  LUMEPi LFVa,  mlabel (id))(lfit LUMEPi LFVa), saving(11)
twoway (scatter  LRMEPi LFVa,  mlabel (id))(lfit LRMEPi LFVa), saving(12)
twoway (scatter  LUMEPi LDVx,  mlabel (id))(lfit LUMEPi LDVx), saving(13)
twoway (scatter  LRMEPi LDVx,  mlabel (id))(lfit LRMEPi LDVx), saving(14)
twoway (scatter  LGMEPi LFVa,  mlabel (id))(lfit LGMEPi LFVa), saving(15)
twoway (scatter  LGMEPi LDVx,  mlabel (id))(lfit LGMEPi LDVx), saving(16)
gr combine 11.gph 12.gph 13.gph 14.gph 15.gph 16.gph, saving(GH3)


**********Figure.4  quantile distribution graph

xtqreg  LMEPI LGVC QII LGDP LUPOP LTRADE LFDI, q( 0.25)
outreg2 using myfile, excel replace
xtqreg  LMEPI LGVC QII LGDP LUPOP LTRADE LFDI, q( 0.5)
outreg2 using myfile, excel
xtqreg  LMEPI LGVC QII LGDP LUPOP LTRADE LFDI, q(0.75)
outreg2 using myfile, excel
xtqreg  LMEPI LGVC QII LGVCxQII LGDP LUPOP LTRADE LFDI, q(0.25)
outreg2 using myfile, excel 
xtqreg  LMEPI LGVC QII LGVCxQII LGDP LUPOP LTRADE LFDI, q(0.5)
outreg2 using myfile, excel 
xtqreg  LMEPI LGVC QII LGVCxQII LGDP LUPOP LTRADE LFDI, q(0.75)
outreg2 using myfile, excel 
qregplot, ols